package com.reremouse.rerebbs.web.mb;

import com.reremouse.rerebbs.dao.IBbsFileDAO;
import com.reremouse.rerebbs.model.BbsFileModel;
import com.reremouse.service.ComplexFileLogic;
import com.reremouse.util.SpringHelper;

import javax.faces.model.SelectItem;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public abstract class NewFileAbstract
        implements Serializable {
    BbsFileModel project2 = new BbsFileModel();
    IBbsFileDAO project2DAO = (IBbsFileDAO) SpringHelper.getSpringBean("BbsFileDAO");
    long fatherID = 0L;
    String idt = "0";
    boolean flag = false;
    ComplexFileLogic cxLogic = (ComplexFileLogic) SpringHelper.getSpringBean("ComplexFileLogic");
    List<SelectItem> fts = new ArrayList();
    boolean rename = false;
    String fileName = "";
    String errStr = "";
    String scope = "pers";
    String oldName = "";
    String fnTemp = "";

    public String getScope() {
        return this.scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getErrStr() {
        return this.errStr;
    }

    public void setErrStr(String errStr) {
        this.errStr = errStr;
    }

    public boolean isRename() {
        return this.rename;
    }

    public void setRename(boolean rename) {
        this.rename = rename;
    }

    public String getFileName() {
        return this.fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public abstract void init();

    public abstract void newAdd();

    public abstract void alter();

    public abstract void checkName();

    public void share() {
        this.scope = "dept";
    }

    public void deShare() {
        this.scope = "pers";
    }

    public BbsFileModel getProject2() {
        return this.project2;
    }

    public void setProject2(BbsFileModel project2) {
        this.project2 = project2;
    }

    public List<SelectItem> getFts() {
        return this.fts;
/* :0:   */
    }

    /* :1:   */
/* :2:   */
    public void setFts(List<SelectItem> fts)
/* :3:   */ {
/* :4:90 */
        this.fts = fts;
/* :5:   */
    }

    /* :6:   */
/* :7:   */
    public long getFatherID()
/* :8:   */ {
/* :9:94 */
        return this.fatherID;
/* ;0:   */
    }

    /* ;1:   */
/* ;2:   */
    public void setFatherID(long fatherID)
/* ;3:   */ {
/* ;4:98 */
        this.fatherID = fatherID;
/* ;5:   */
    }
/* ;6:   */
}



/* Location:           F:\jsp源码\蝙蝠论坛系统\rerebbs\WEB-INF\classes\

 * Qualified Name:     com.reremouse.rerebbs.web.mb.NewFileAbstract

 * JD-Core Version:    0.7.0.1

 */